package cn.zucc.edu.handyzucc.dao;

import cn.zucc.edu.handyzucc.entity.Shop;

import java.util.List;

public interface ShopDao {
    List<Shop> getShopsByType(String shop_type);
    Shop getShopDetail(Integer shop_id);
    int updateShopRating(Integer shop_id, Integer shop_rating, Integer step);

    List<Shop> getAllShop();
    int deleteShop(Integer shop_id);
    int addShop(Shop shop);
    int updateShop(Shop shop);
}
